<?php
$controller = $this->controller;
?>
<div class="lang-outer">
	<div class="lang-inner">
		<ul>
			<li>
				<a href="<?php echo $this->url;?>?lang=en">English</a>
			</li>
			<li>
				|
			</li>
			<li>
				<a href="<?php echo $this->url;?>?lang=zh">中文</a>
			</li>
			<li>
				|
			</li>
			<li>
				<a href="<?php echo $this->url;?>?lang=pt">Português</a>
			</li>
		</ul>
	</div>
</div>
<div class="nav-outer">
	<h1 class="logo"><img src="<?php echo APPLICATION_PUBLIC_PATH;?>/images/logo.png" alt="dazzling models" /></h1>
	<?php 
	if ($this->language == 'zh') {
	?>
	<div class="nav" id="chinese">
	<?php
	} elseif ($this->language == 'pt') {
    ?>
    <div class="nav" id="portuguese">
    <?php
    } else {
    ?>
    <div class="nav" id="english">
    <?php
    }
	?>
		<ul>
			<?php
if ($controller == 'index') {
			?>
			<li>
				<a href="<?php echo APPLICATION_ACTION_PATH;?>/" class="nav-bt1 nav-bt1-current">首页</a>
			</li>
			<?php
			} else {
			?>
			<li>
				<a href="<?php echo APPLICATION_ACTION_PATH;?>/" class="nav-bt1">首页</a>
			</li>
			<?php
			}

			if ($controller == 'foreign') {
			?>
			<li>
				<a href="<?php echo APPLICATION_ACTION_PATH;?>/foreign" class="nav-bt2 nav-bt2-current">外籍模特</a>
			</li>
			<?php
			} else {
			?>
			<li>
				<a href="<?php echo APPLICATION_ACTION_PATH;?>/foreign" class="nav-bt2">外籍模特</a>
			</li>
			<?php
			}

			if ($controller == 'other') {
			?>
			<li>
				<a href="<?php echo APPLICATION_ACTION_PATH;?>/other" class="nav-bt3 nav-bt3-current">其他模特</a>
			</li>
			<?php
			} else {
			?>
			<li>
				<a href="<?php echo APPLICATION_ACTION_PATH;?>/other" class="nav-bt3">其他模特</a>
			</li>
			<?php
			}

			if ($controller == 'join') {
			?>
			<li>
				<a href="<?php echo APPLICATION_ACTION_PATH;?>/join" class="nav-bt4 nav-bt4-current">模特加盟</a>
			</li>
			<?php
			} else {
			?>
			<li>
				<a href="<?php echo APPLICATION_ACTION_PATH;?>/join" class="nav-bt4">模特加盟</a>
			</li>
			<?php
			}

			if ($controller == 'life') {
			?>
			<li>
				<a href="<?php echo APPLICATION_ACTION_PATH;?>/life" class="nav-bt5 nav-bt5-current">模特生活</a>
			</li>
			<?php
			} else {
			?>
			<li>
				<a href="<?php echo APPLICATION_ACTION_PATH;?>/life" class="nav-bt5">模特生活</a>
			</li>
			<?php
			}

			if ($controller == 'contact') {
			?>
			<li>
				<a href="<?php echo APPLICATION_ACTION_PATH;?>/contact" class="nav-bt6 nav-bt6-current">联系我们</a>
			</li>
			<?php
			} else {
			?>
			<li>
				<a href="<?php echo APPLICATION_ACTION_PATH;?>/contact" class="nav-bt6">联系我们</a>
			</li>
			<?php
			}
			?>
		</ul>
	</div>
</div>